(function($) {
	$.welcome = function(me) {
		var time = new Date().getHours();
		var text;
		if(time < 6) {
			text = "早上好";
		} else if(time < 12) {
			text = "上午好";
		} else if(time < 18) {
			text = "下午好";
		} else {
			text = "晚上好";
		}

		me.text(text);
	}
}(jQuery));